package fzu.functiongather.SectorMenu;

import android.os.Bundle;
import android.view.View;
import android.widget.Toast;

import fzu.functiongather.BaseActivity;
import fzu.functiongather.R;
import fzu.functiongather.Utils.ToastUtils;
import fzu.functiongather.mUtils.AnimButtons;

/**
 * Created by Administrator on 2016/11/25.
 */
public class SectorMenuActivity extends BaseActivity {
    private AnimButtons animButtons;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.sector_menu_main);
        animButtons = (AnimButtons) findViewById(R.id.animButtons);
        animButtons
                .setOnButtonClickListener(new AnimButtons.OnButtonClickListener() {
                    @Override
                    public void onButtonClick(View v, int id) {
                        ToastUtils.showLong(SectorMenuActivity.this,"id-->" + id);
                        animButtons.closeMenu();
                    }
                });
    }
}
